const exp=require('express');
const bodyParser=require('body-parser');
const fs=require('fs');
const cookieParser = require('cookie-parser');

const app=exp();

app.use(exp.static('wwwroot'));
app.use(bodyParser.urlencoded({extended:true}));
app.use(cookieParser());


app.use(require('./routers/user/register'));
app.use(require('./routers/user/login'));

app.listen(3000,()=>{
    console.log('server on 3000...')
})